package com.travel.controller.APPPush;

import com.travel.common.ServerResponse;
import com.travel.service.APPPushSingleServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class APPPushSingleController {

    @Autowired
    APPPushSingleServer appPushSingleServer;

    /**
     * todo 发送时前端cid应该传数组，下一次升级
     * app消息推送接口
     * @param CID 用户设备的唯一标识
     */
    /*@GetMapping("/appPush/{CID}")
    public ServerResponse<String> apppush(@PathVariable("CID") String CID) throws Exception {
        return appPushSingleServer.appPushSingle(CID);
    }*/
}
